package com.meiyou.service;

import com.meiyou.dto.RecordMenstruationDto;
import com.meiyou.vo.MenstruationVo;

import java.time.LocalDate;
import java.util.List;

/**
 * @BelongsProject: meiyou
 * @BelongsPackage: com.meiyou.service
 * @Author: 尹晓安
 * @Date: 2023/12/4 21:47
 * @Description:
 */
public interface MenstrualRecordService {

    /**
     * 记录月经
     *
     * @param recordMenstruationDto
     * @return
     */
    void recordMenstruation(RecordMenstruationDto recordMenstruationDto);

    /**
     * 获取月经信息
     *
     * @return
     */
    List<MenstruationVo> getMenstruation();

    /**
     * 查询最新月经结束日期
     *
     * @return
     */
    String queryMenstrualEndLast();

    /**
     * 查询最新的月经数据
     *
     * @return
     */
    MenstruationVo queryMenstrualLast();
}
